{% load avatar format entry %}
{% if not entries|length %}
  {% block no_posts %}
    {% ifequal view.nick request.user.nick %}
      <div class="highlight">
        <p>It appears that you have not yet posted any messages.
        Posting is easy - just type your first message in the field
        above. Don't know what to say? Start with what you're up to
        right now. For instance, "Heading to lunch with my friends"
        would be a perfect first message.</p>
      </div>
      {% else %}
      <p>
      {% ifequal privacy "public" %}
      {{view.display_nick}} has not posted anything public.
      {% else %}
      {{view.display_nick}} has not posted anything yet.
      {% endifequal %}
      </p>
    {% endifequal %}
  {% endblock %}
{% endif %}
{% for entry in entries %}
<div class="post" id="post-{{entry.uuid}}"> 
<div class="storycontent">{% ifequal entry.stream_ref.type 'presence' %}{% include "common/templates/stream_entry.html" %}{% endifequal %}
{% if entry.entry %}
      {% include "common/templates/stream_comment.html" %}
{% endif %}
</div> 
</div> 

{% endfor %}